<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0,minimal-ui">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes"/>
        <meta name="format-detection" content="telephone=no">
        <title>重置密码 - 电商之家</title>
        <link rel="stylesheet" href="__STATIC__/index/css/font.css">
        <link rel="stylesheet" href="__STATIC__/index/layui/css/layui.css?t=1527238724161">
        <link rel="stylesheet" href="__STATIC__/index/css/global.css" charset="utf-8">
    </head>
    <body>
        <include file="public/header"/>
        <div class="layui-container fly-marginTop">
            <div class="fly-panel fly-panel-user" pad20>
                <div class="layui-tab layui-tab-brief" lay-filter="user">
                    <ul class="layui-tab-title">
                        <li>
                            <a href="/user/login/">登入</a>
                        </li>
                        <li class="layui-this">重置密码</li>
                    </ul>
                    <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
                        <div class="layui-tab-item layui-show">
                            <div class="fly-msg">{$info.nickname}，请重置您的密码</div>
                            <div class="layui-form layui-form-pane" style="margin-top: 30px;">
                                <form action="{:url('user/repass')}" method="post">
                                    <div class="layui-form-item">
                                        <label for="L_pass" class="layui-form-label">密码</label>
                                        <div class="layui-input-inline">
                                            <input type="password" id="L_pass" name="pass" required lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                        <div class="layui-form-mid layui-word-aux">6到16个字符</div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label for="L_repass" class="layui-form-label">确认密码</label>
                                        <div class="layui-input-inline">
                                            <input type="password" id="L_repass" name="repass" required lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label for="L_vercode" class="layui-form-label">图形码</label>
                                        <div class="layui-input-inline">
                                            <input type="text" id="L_vercode" name="vercode" required lay-verify="required" placeholder="请收入后面的验证码" autocomplete="off" class="layui-input">
                                        </div>
                                        <div class="layui-input-inline"> 
                                            <img id="verify"  src="{:url('User/vertify')}" alt="" width="120px"> 
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <input type="hidden" name="username" value="{$info.nickname}">
                                        <input type="hidden" name="email" value="{$info.email}">
                                        <button class="layui-btn" alert="1" lay-filter="repwd" lay-submit>提交</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="public/footer"/>
         <script type="text/javascript">
            var VERIFYURL = "{:url('vertify')}?tm="+Math.random();
        </script>
    </body>
</html>
